package com.wksc.framework.impexp.pattern;

import com.wksc.framework.impexp.util.ClassFactory;

import java.util.HashMap;


/**
 * <p> Title(文件名): ActivePattern.java </p>
 * <p> Description(描述): 是否启用的格式化类 </p>
 * <p> Copyright(版权): Copyright (c) 2011 </p>
 * <p> Company(公司): 成都四方信息技术有限公司 </p>
 * <p> CreateTime(生成日期)：2011-11-18上午10:20:55 </p>
 * @author wanglei
 * @version impExp
 */
public final class ActivePattern extends ValStrPattern {
	private static final long serialVersionUID = 8986166705074890155L;

	private ActivePattern(){
		this.map = new HashMap<Integer, String>();
		map.put(0, ClassFactory.getI18n().getDeactive());
		map.put(1,ClassFactory.getI18n().getActive());
	}
	
	private static ActivePattern INSTANCE = new ActivePattern();
	
	public static ActivePattern getINSTANCE(){
		return INSTANCE;
	}
}
